import request from '@/utils/request'

// 柱状图1
export function queryLineChartsOne(query) {
    return request({
        url: '/statistics/ability/dept/suo',
        method: 'get',
        params: query
    })
}
// 查询科室的考试成绩柱状图
export function queryOffice(query) {
    return request({
        url: '/statistics/ability/dept/shi',
        method: 'get',
        params: query
    })
}
// 查询人员的考试成绩柱状图
export function queryGrade(query) {
    return request({
        url: '/statistics/ability/dept/people',
        method: 'get',
        params: query
    })
}
// 查询所的考试成绩饼状图
export function queryAllGradePie(query) {
    return request({
        url: '/statistics/ability/dept/suo/pie',
        method: 'get',
        params: query
    })
}
// 查询室的考试成绩饼状图
export function queryOfficeGradePie(query) {
    return request({
        url: '/statistics/ability/dept/shi/pie',
        method: 'get',
        params: query
    })
}
// 查询室下的人的考试成绩饼状图
export function queryPeopleGradePie(query) {
    return request({
        url: '/statistics/ability/dept/people/pie',
        method: 'get',
        params: query
    })
}
// 查询所的考试实考与应考占比柱状图
export function queryPercentDeptSuo(query) {
    return request({
        url: '/statistics/ability/dept/suo/percent',
        method: 'get',
        params: query
    })
}
// 查询科室的考试实考与应考占比柱状图
export function queryPercentDeptShi(query) {
    return request({
        url: '/statistics/ability/dept/shi/percent',
        method: 'get',
        params: query
    })
}
// 查询人员考试内容及分数
export function queryPercentPeople(query) {
    return request({
        url: '/statistics/ability/dept/people/percent',
        method: 'get',
        params: query
    })
}


